<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<f:view>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            <title><h:outputText value="#{msgs.sitename}"/></title>
        </head>
		<body>
			<h:form>
				<h:dataTable id="dt1" value="#{registerController.supplierRegister}" var="supplier" bgcolor="#F1F1F1" border="10" cellpadding="5" cellspacing="3" first="0" rows="4" width="50%" summary="This is a JSF code to create dataTable." >
				
				<f:facet name="header">
				  <h:outputText value="This is 'dataTable' demo" />
				</f:facet> 
				
				<h:column>
				  <f:facet name="header">
				  <h:outputText value="id" />
				  </f:facet> 
				   <h:outputText value="#{supplier.identificationCode}"></h:outputText>
				</h:column>
				
				<f:facet name="footer">
				  <h:outputText value="The End" />
				</f:facet> 
				
				</h:dataTable>
			
			</h:form>
</body></html></f:view>